Jump to content

I tried to test the API:


Recommended Posts

I tried to test the API:

GET : works

DELETE: works

POST: not works

example (python requests):


import requests

endpoint = "https://api.loyverse.com/v1.0/categories"

data = {"name":"test categories"}

headers = {"Authorization": "Bearer XXXXXXXXXXXXXXXXXXXXX"}

x = requests.post(endpoint, data=data, headers=headers)}


error code 406

What is wrong?

Link to comment
Share on other sites

Loyverse Point of Sale





  • Create New...