Jump to content
  • 0

V8.0 With the API


Siege

Question

3 answers to this question

Recommended Posts

  • 0

I highly recommend with each new major update to things you use to look at the new files created at the base of your folders.

 

The server folder has 4 new files at its base, appsetting.json, appsettings.Production.json, self-signed.crt abd self-signed.key.

 

To activate the API you need to activate it by default in appsettings.Production.json, then you will need to run the server in HTTPS which should be functional thanks to the certificates and the key (for your local computer only those there).

 

Then, you just need to put your new url where you use your server: https://localhost:5443 for local servers and on remote servers: https:IpOrDomain:5443

Remember, you need an SSL certificate on your live server for api work.

 

On your internet browser, type the URL that suits you + /api/v1/users (https://localhost:5443/api/v1/users)  if you come across a 404 error everything is good, if you come across an ssl or empty response error there are a few things that are wrong.

Link to comment
Share on other sites

  • 0

Then you just need to put your new URL where you use your server [where are you referring to here? ]

 

To enable the API you need to enable it by default in appsettings.Production.json, then you will need to run the server on HTTPS [in appsettings.Production.json Where specifically should that be changed? ]

 

Port 5443 is a different one, right? It is not the one we use for the server port I imagine.

 

As for the SSL certificate, should it work now? or you have to pay for that service.

 

Then in the Tools API you are supposed to reinstall again to re-enter the installation data to put the https format this time and not the http, right?

 

 

Link to comment
Share on other sites

  • 0
12 hours ago, XFallSeane said:

I highly recommend with each new major update to things you use to look at the new files created at the base of your folders.

 

The server folder has 4 new files at its base, appsetting.json, appsettings.Production.json, self-signed.crt abd self-signed.key.

 

To activate the API you need to activate it by default in appsettings.Production.json, then you will need to run the server in HTTPS which should be functional thanks to the certificates and the key (for your local computer only those there).

 

Then, you just need to put your new url where you use your server: https://localhost:5443 for local servers and on remote servers: https:IpOrDomain:5443

Remember, you need an SSL certificate on your live server for api work.

 

On your internet browser, type the URL that suits you + /api/v1/users (https://localhost:5443/api/v1/users)  if you come across a 404 error everything is good, if you come across an ssl or empty response error there are a few things that are wrong.

 

ERR_SSL_VERSION_OR_CIPHER_MISMATCH  

 

That's what I get in the browser, but it's supposed to already be recognizing it, right? There's just something missing that's not right, right?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...