https://linen.dev logo
m

Mohit Aneja

02/19/2021, 2:44 PM
Hello everyone
u

user

02/19/2021, 2:44 PM
Hi
u

user

02/19/2021, 2:45 PM
Hi Chris
u

user

02/19/2021, 2:45 PM
Are you familiar with the api? I just installed on my mac and can’t access the api
u

user

02/19/2021, 2:47 PM
Thank you for sharing, I looked at this page but there’s no route listed for authorisation and localhost/8001/v1 throw 405 not allowed.
u

user

02/19/2021, 2:48 PM
Can you help me with the host URL I should be using
u

user

02/19/2021, 2:48 PM
I’ve been using this one for example:
Copy code
curl -H "Content-Type: application/json" -X POST localhost:8001/api/v1/deployment/export --output /tmp/export.tar.gz
u

user

02/19/2021, 2:53 PM
Thanks, after this CURL request the api seems to be working in postman.
u

user

02/19/2021, 2:59 PM
Can’t find the route to create the workspace, can you guide me on that, please. thanks.
u

user

02/19/2021, 3:00 PM
I don’t think there is one
u

user

02/19/2021, 3:01 PM
so how to access the routes where the parameter workspaceId is requird