API on subdomain
See original GitHub issueHi,
In my app the api is on a subdomain: api.example.com. With Ziggy in Vue, the url is outputted as http://example.com/api.example.com. Do you maybe have a solution for this?
Thanks 😃
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (2 by maintainers)
Top Results From Across the Web
rest - What are the trade-offs between different methods of ...
What are the trade-offs between different methods of constructing API URLs: subdomain vs. subdirectory and versioning? [closed] · Is there any prior experience ......
Read more >Best practices for RESTful API design - Ontola
You don't need a subdomain for your API, like api.example.com or a sub-path, like example.com/api . Your endpoint should be the root of...
Read more >Serving multiple APIs from a domain - Cloud Endpoints
Deploying an API on a subdomain. The following example deploys the API to the subdomain first_api.example.com : Set the host ...
Read more >API Endpoint Versioning Methods: Sub-domain or Directory?
One of the big advantaged of using a sub-domain is that you can host your API on different servers from your main site....
Read more >Custom Subdomain For Every App - Backendless
Your subdomain can be used for all API requests, removing the need to include your application ID and API key in the request...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks 😃
Much appreciated @DanielCoulbourne