Skip to content

Instantly share code, notes, and snippets.

@derhuerst
Created September 9, 2024 18:56
Show Gist options
  • Save derhuerst/f581ba59e0f9d11e9132cb9e7277948e to your computer and use it in GitHub Desktop.
Save derhuerst/f581ba59e0f9d11e9132cb9e7277948e to your computer and use it in GitHub Desktop.
Flixbus/Flix booking number validation HTTP call
curl 'https://help.flixbus.com/s/sfsites/aura?r=18&other.CSPaxUtilities.checkBookingNumber=1' \
-X 'POST' \
-H 'Content-Type: application/x-www-form-urlencoded;charset=UTF-8' \
-H 'Accept: */*' \
-H 'Accept-Language: en-GB,en;q=0.9' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Safari/605.1.15' \
--data 'message=%7B%22actions%22%3A%5B%7B%22id%22%3A%22273%3Ba%22%2C%22descriptor%22%3A%22apex%3A%2F%2FCSPaxUtilities%2FACTION%24checkBookingNumber%22%2C%22callingDescriptor%22%3A%22markup%3A%2F%2Fc%3Acs_pax_feedbackForm%22%2C%22params%22%3A%7B%22bookingNumber%22%3A%223192968124%22%7D%7D%5D%7D&aura.context=%7B%22mode%22%3A%22PROD%22%2C%22fwuid%22%3A%22eGx3MHlRT1lEMUpQaWVxbGRUM1h0Z2hZX25NdHFVdGpDN3BnWlROY1ZGT3cyNTAuOC40LTYuNC41%22%2C%22app%22%3A%22siteforce%3AcommunityApp%22%2C%22loaded%22%3A%7B%22APPLICATION%40markup%3A%2F%2Fsiteforce%3AcommunityApp%22%3A%22wi0I2YUoyrm6Lo80fhxdzA%22%2C%22MODULE%40markup%3A%2F%2Flightning%3Af6Controller%22%3A%225PtsAUCMnPdpZDcNTHXtbg%22%2C%22COMPONENT%40markup%3A%2F%2Finstrumentation%3Ao11ySecondaryLoader%22%3A%221JitVv-ZC5qlK6HkuofJqQ%22%7D%2C%22dn%22%3A%5B%5D%2C%22globals%22%3A%7B%7D%2C%22uad%22%3Afalse%7D&aura.pageURI=%2Fs%2Farticle%2FPSSP-Ich-m%25C3%25B6chte-euch-Feedback-zu-meiner-Fahrt-geben-Wie-kann-ich-das-tun%3Flanguage%3Dde&aura.token=null'
{
"actions": [
{
"id": "273;a",
"state": "SUCCESS",
"returnValue": {
"isValid": false,
"trips": []
},
"error": []
}
],
"context": {
"mode": "PROD",
"app": "siteforce:communityApp",
"contextPath": "/s/sfsites",
"pathPrefix": "",
"fwuid": "eGx3MHlRT1lEMUpQaWVxbGRUM1h0Z2hZX25NdHFVdGpDN3BnWlROY1ZGT3cyNTAuOC40LTYuNC41",
"mlr": 1,
"coos": 1,
"loaded": {
"APPLICATION@markup://siteforce:communityApp": "wi0I2YUoyrm6Lo80fhxdzA",
"MODULE@markup://lightning:f6Controller": "5PtsAUCMnPdpZDcNTHXtbg",
"COMPONENT@markup://instrumentation:o11ySecondaryLoader": "1JitVv-ZC5qlK6HkuofJqQ"
},
"globalValueProviders": [
{
"type": "$Global",
"values": {
"eswConfigDeveloperName": {
"writable": true,
"defaultValue": ""
},
"isVoiceOver": {
"writable": true,
"defaultValue": false
},
"setupAppContextId": {
"writable": true,
"defaultValue": ""
},
"density": {
"writable": true,
"defaultValue": ""
},
"srcdoc": {
"writable": false,
"defaultValue": false
},
"appContextId": {
"writable": true,
"defaultValue": ""
},
"dynamicTypeSize": {
"writable": true,
"defaultValue": ""
},
"appContextDeveloperName": {
"writable": true,
"defaultValue": ""
}
}
}
],
"enableAccessChecks": true,
"apce": 1,
"dns": "c",
"ls": 1,
"lairn": [],
"laerc": [],
"lav": "61",
"lgef": [
"com.salesforce.locker.temporaryGate"
],
"mna": {
"lightning": "interop"
},
"arse": 1,
"acaf": 1,
"services": [
"markup://lightning:configProvider",
"markup://force:salesforceScopedModuleResolver",
"markup://force:ldsEngineCreator",
"markup://instrumentation:locatorService"
]
},
"perfSummary": {
"version": "core",
"request": 330,
"actions": {
"273;a": {
"total": 266,
"db": 14
}
},
"actionsTotal": 266,
"overhead": 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment