basecamp - POST /projects/123/star.json returning 400 Bad Request -


brought on git

trying add new api urls php basecamp client. stars , delete stars works fine, posting throws 400.

request

post /1804401/api/v1/projects/234118/star.json http/1.1

response

400 bad request


looks work if send project_id argument in payload.

request

post /1804401/api/v1/projects/234118/star.json http/1.1

request body

{"project_id":234118}

response

http/1.1 201 created

i checked our logs , see requests going through successfully. try post again, empty request body?

update: aha! see requests receiving 400 response - it's happening before hit basecamp. due malformed request of kind. try reproduce using curl can troubleshoot what's occurring? hard tell url alone.


Comments

Popular posts from this blog

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -