I would not change the name to 1.0 because of the dot . which can be understood by the server as a separation between for example the domain name and the extension.
Feb 22, 2023
3
Level 1
endpoint with prefix 1.0, giving resource not found error
I have Api working with prefix 'v1', as per requirement i have changed it to 1.0,. but it isnt working in my local VM which runs on php server. whereas it is working fine on nginx based azure linux app service.
Can someone help here to resolve the same on local VM well.
Level 63
@arunasrim It can work on some servers and not on others, that's why it would be a good idea not to do this. Imagine you need to move your application from a server to another, what will you do with your API and with the clients using it ?
1 like
Please or to participate in this conversation.