Joget DX Available for Download

Check out Joget DX, the next generation successor to Joget Workflow for faster, simpler digital transformation.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Authenticate by Passing Parameters

Thai

รับรองความถูกต้องโดยผ่านพารามิเตอร์

...

Code Block
languagejs
<script>
    $(document).ready(function(){
        $.ajax({
            type: "POST",
            url: 'http://localhost:8080/jw/web/json/workflow/assignment/list/pending',
            data: {
				j_username : 'user1',
 				hash : 'D012B772672A55A0B561EAA53CA7734E'
			},
            success: function(res) {
                console.log(res)
            },
            dataType: "json"
        });

    });
</script>

Master Login Username and Password

Thai

Master ชื่อผู้ใช้และรหัสผ่าน

...

Code Block
languagejs
<script>
    $(document).ready(function(){
        $.ajax({
            type: "POST",
            url: 'http://localhost:8080/jw/web/json/workflow/assignment/list/pending',
            data: {
				j_username : 'master',
 				hash : 'E505CF727D214A68CB03DA25DA978500',
 				loginAs : 'user1'
			},
            success: function(res) {
                console.log(res)
            },
            dataType: "json"
        });
    });
</script>

Basic Http Authentication

Thai

การรับรองความถูกต้อง HTTP พื้นฐาน

Since V4, Joget Workflow is suppoeted supports Basic HTTP Authentication in JSON API authentication, you can passing the credentials in the header.

...