Replaced relative URL with absolute URL
Set the content type as application/json