samedi 8 septembre 2018

HTTP response from rails to spring

From Spring framework we call an api at rails framework(rails 3.2) and get the response. Suppose the API at rails looks like:

def testAPI
  # generate a result called response
  render :json => response, :status => :ok
end

Is there any way to get status code in spring? Thanks!

Aucun commentaire:

Enregistrer un commentaire