Spring REST API deployment in Heroku and get the working rest urls -


i created rest api using spring , elastic search. it's working in local system. here's url i'm using take response.

http://localhost:8080/api/elastic-test/master/track/search_advanced?text=ayodya&species=mus_musculus_real&type=gene_real&release=109&division=ensembl_real

no issue local system. deployed heroku. here link application. https://serene-headland-77553.herokuapp.com/

now need call rest end points. according local system, need change host , port. think heroku doesn't need port. used this.

http://serene-headland-77553.herokuapp.com/api/elastic-test/master/track/search_advanced?text=genes&species=homo_sapiens&type=gene&release=89&division=ensembl

i replaced

localhost:8080

with

serene-headland-77553.herokuapp.com

but gives me "http status [404] – [not found]" error code. i'm new heroku. please tell me there way can make work ? or there special way host rest api in heroku ?


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -