Response body of new customer API is null

I tried to create a customer using https://docs.dwolla.com/#new-customer, It was a success but response body was null?. How do I get my newly created customer ID and href.

@rahulsingh, We won’t return JSON response bodies from HTTP 201 created responses. Instead we’ll include a Location header with a link which points to the newly created resource.

AM not getting location in header. please check my code.
return this.appToken.post(‘customers’, requestBody).then(response => {
console.log(‘location’, response.headers.get(‘location’))
})

Please Replay me

Can you add the customer_id in the reponse body? It seems wrong that it’s not there. I think all the newly created objects should be returned with the 201 response.

Hi @Craig! All 201 Created responses will return the newly created resource in the Location header in the API response. This is pretty standard according to the HTTP Semantics doc.