Closed markst closed 7 years ago
Where as URLForResourceType() returns baseURL appending url, the URLForRelationship() only returns the endpoint/extension, which ends up failing the network request.
URLForResourceType()
URLForRelationship()
You are right, if the resource URL is relative it returns a relative URL. Will update this to make it absolute to baseURL if needed.
Where as
URLForResourceType()
returns baseURL appending url, theURLForRelationship()
only returns the endpoint/extension, which ends up failing the network request.