Skip to main content

Network

Post to thoughts.page

curl -v -X POST https://thoughts.page/login -d 'email=user%40example.com&password=Secr3t'
# Extract the `set-cookie` header from response
# e.g. set-cookie: session_id=abcxxxxxxxxxxxyz;
curl -H 'Cookie: session_id=abcxxxxxxxxxxxyz' -X POST https://thoughts.page/post -d 'thought=My message with [link](https://example.com/link) format\n\neven **bold** text?&timezone=Asia%2FShanghai'