Skip to content

Web Service for managing small messages with multilingual support and replacement.

Notifications You must be signed in to change notification settings

naymic/msgwebservice

Repository files navigation

MsgWebService with Laravel PHP Framework and MySQL Database

This application and web service are used to manage and attend requests for short messages in multiple languages.

AUTOR

Micha Meier

Features

  • Get one or more messages
  • Replacement inside messages
  • Multi language support
  • Multi application support with access token
  • Responsive Interface to manage messages
  • Detailed error messages on failure

Instructions

Web Service

Basic Json request: <your domain>/{"appid":<appid>,"apptoken":"<token>","modulid":<modul id>,"applang":"<app language shortform>","requitems":<array of message ids>,"requitemsreplace":<array for replacement or empty>}

Message CRUD

Create your signup and login on <your domain>/message New apps and modules are created direct in the database, future managing with an interface is planned. Example for replacement inside a message: This is a test [[0]] replace [[1]] message

Example usage

Get one message
{"appid":1,"apptoken":"msgwsiscool!","modulid":1,"applang":"pt","requitems":[1],"requitemsreplace":[]}

Get multiples messges
{"appid":1,"apptoken":"msgwsiscool!","modulid":1,"applang":"pt","requitems":[1,2,3],"requitemsreplace":[[],[],[]]}

Replace inside messages
{"appid":1,"apptoken":"msgwsiscool!","modulid":1,"applang":"pt","requitems":[1,2,43],"requitemsreplace":[[],[],["test1", "test2"]]}

Incomplete request
{"appid":1,"appoken":"msgwsiscool!","modulid":1,"applng":"pt","requitems":[1,2,3],"requitemsreplace":[[],[],[]]}

About

Web Service for managing small messages with multilingual support and replacement.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages