progrez.cloud

API 3

22 Agustus 2020

~DAFTAR ISI


1.1 Create Fakultas


~DUCUMENTATION API

Documentasi api camps schadule Fakultas dan Prodi.



1.1 Create Fakultas

curl -i -X POST -H "Content-Type: multipart/form-data"

-F "fakultas=teknik"

-F "id_wilayah="

http://localhost/api/fakultas.php?create=token

curl -F "fakultas=teknik" -F "id_wilayah=" http://localhost/api/v1/fakultas.php?create=ZXlKaGJHY2lPaUpJVXpJMU5pSXNJblI1Y0NJNklrcFhWQ0o5LmV5SnBaQ0k2SWpFeU16UTFOaUlzSW01aGJXVWlPaUpyYUdGcGNuVnVJbjA9LjgzYTQ4YmEwYjRjNzlmMjkyZTg0NzMxOTYzYjA0OWQwYjAxNjlhZGUwZWMxMTE5Y2QyNmY0ZDEzNDA1YjAyYWI=

reponds

{"error":false,"code":20101,"msg":"Berhasil Menambahkan fakultas","result":"success"}

...


1.2 Get All Fakultas

curl -i -X POST -H "Content-Type: multipart/form-data"

-F "token=token"

http://localhost/api/fakultas.php?get=AllFakultas

curl -F "token=ZXlKaGJHY2lPaUpJVXpJMU5pSXNJblI1Y0NJNklrcFhWQ0o5LmV5SnBaQ0k2SWpFeU16UTFOaUlzSW01aGJXVWlPaUpyYUdGcGNuVnVJaXdpYkdWMlpXd2lPaUoxYm1sMlpYSnphWFJoY3lKOS5mODQxN2VmZDBiMjgxMDkyYmNjMjRhZTE4OTI2NmRjNTg4OTBkZDYxN2VjNGVkYmJmNjA4MzI1M2E4NGFjOTJh" http://localhost/api/v1/fakultas.php?get=AllFakultas

responds

{"error":false,"code":20103,"msg":"success","result":[{"id":"1234563874","name":"teknik","wilayah":"MOYA","active":"0"}]}

...