system
July 2, 2021, 10:58am
1
Migrated from Redmine #727 | Author: lunar warnz
Status: Feedback | Priority: High, I’m very impatient | Created: 2021-07-02
request: {“jsonrpc”:“2.0”,“id”:1,“method”:“confirmBooking”,“params”:[“62549”,“4925be6f33695187d11b9417491c5ff3”]}
response: {“error”:{“code”:-32000,“message”:“Unexpected error”,“data”:null},“id”:“1”,“jsonrpc”:“2.0”}
system
July 2, 2021, 11:04am
2
Dmytro Bondarev wrote:
Please provide full http request with headers
and please explain what do you want to confirm.
system
July 2, 2021, 11:10am
3
lunar warnz wrote:
XHRPOSThttps://user-api.simplybook.pro/
[HTTP/1.1 200 OK 470ms]
POST
https://user-api.simplybook.pro/
Status200
OK
VersionHTTP/1.1
Transferred500 B (91 B size)
Referrer Policystrict-origin-when-cross-origin
Access-Control-Allow-Headers
content-type, x-company-login, x-application-token, x-user-token, x-token, x-requested-with
Access-Control-Allow-Methods
POST, GET, OPTIONS
Access-Control-Allow-Origin
*
Connection
keep-alive
Content-Length
91
Content-Type
application/json
Date
Fri, 02 Jul 2021 10:57:14 GMT
Keep-Alive
timeout=20
Server
nginx
X-XSS-Protection
1; mode=block
POST / HTTP/1.1
Host: user-api.simplybook.pro
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0
Accept: application/json
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: http://localhost/
Content-Type: application/json
X-Company-Login: lunartest
X-Token: 739793c17c7c6ddf90484a6de758a7664097d86079317f7e3e30d2e47966244d
Origin: http://localhost
Content-Length: 104
Connection: keep-alive
system
July 2, 2021, 11:11am
4
lunar warnz wrote:
XHRPOSThttps://user-api.simplybook.pro/
[HTTP/1.1 200 OK 470ms]
POST
https://user-api.simplybook.pro/
Status200
OK
VersionHTTP/1.1
Transferred500 B (91 B size)
Referrer Policystrict-origin-when-cross-origin
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 02 Jul 2021 10:57:14 GMT
Content-Type: application/json
Content-Length: 91
Connection: keep-alive
Keep-Alive: timeout=20
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, OPTIONS
Access-Control-Allow-Headers: content-type, x-company-login, x-application-token, x-user-token, x-token, x-requested-with
X-XSS-Protection: 1; mode=block
Accept
application/json
Accept-Encoding
gzip, deflate, br
Accept-Language
en-US,en;q=0.5
Connection
keep-alive
Content-Length
104
Content-Type
application/json
Host
user-api.simplybook.pro
Origin
http://localhost
Referer
http://localhost/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0
X-Company-Login
lunartest
X-Token
739793c17c7c6ddf90484a6de758a7664097d86079317f7e3e30d2e47966244d
system
July 2, 2021, 11:15am
5
lunar warnz wrote:
im trying to confirm the booking after booking creation. Welcome - TechSmith Screencast
the batch booking works fine which uses this method. confirmBookingBatch ($batchId, $batchType, $sign) but for the single booking which uses this confirmBooking ($id, $sign), doesn’t work.
lunar warnz wrote:
Dmitry Bondarev wrote:
Please provide full http request with headers
and please explain what do you want to confirm.
Hi Dmitry, Any news on this?